package com.ruoyi.zhjd.laboratory.modules.marshallStabilityNew.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.zhjd.laboratory.modules.marshallStabilityNew.entity.MarshallStabilityNewEntity;
import com.ruoyi.zhjd.laboratory.modules.marshallStabilityNew.entity.MarshallStabilityNewResEntity;

import java.util.List;
import java.util.Map;

/**
 * 马歇尔稳定度测定仪
 *
 * @author sx
 * @email
 * @date 2023-07-11 18:56:39
 */
public interface MarshallStabilityNewService extends IService<MarshallStabilityNewEntity> {

    /**
     * 列表
     */
    IPage queryPage(Map<String, Object> params);

    /**
     * 信息
     * @return MarshallStabilityNewEntity
     */
    MarshallStabilityNewEntity getInfo(String id);

    /**
     * 保存
     */
    void saveData(MarshallStabilityNewEntity marshallStabilityNew);

    /**
     * 修改
     */
    void updateData(MarshallStabilityNewEntity marshallStabilityNew);

    /**
      * 删除单条数据
      * @param id
     */
    void deleteOneData(String id);

    /**
     * 删除
     */
    void deleteData(List<String> ids);

    /**
     *  解析马歇尔稳定度测定仪数据
     * @param resData 试验结果数据
     * @param deviceId 试验设备id
     */
    void parsingData(String resData,String deviceId);

    /**
     * 批处理历史数据,重新进行解析过程数据
     */
     void reparseData();

    /**
     * 绑定材料
     */
    void changeSample(MarshallStabilityNewResEntity marshallStabilityNewRes);
}

